import {
      TestGetRequstData,
      TestGetData,
} from '@/types'
import request from '@/utils/request'
import { AxiosPromise } from 'axios'

/**
 * get请求
 * @param data
 */
export function getList(data: TestGetRequstData): AxiosPromise<TestGetData> {
      return request({
            url: '/mail/getList',
            method: 'get',
            params: data
      })
}
